var express = require('express');
var router = express.Router();
const { teacherModel,positionModel } = require('../model/fzk_model')




router.get('/teacherList', async (req, res) => {
  let data = await teacherModel.find().populate('p_id').exec()
  res.send({
    data,
    code:200,
    error:'获取数据错误'
  })
})




module.exports = router;